//
//  TextAreaGroupTableViewCell.h
//  mcrmSAAS
//
//  Created by wjxfhxy on 15-3-13.
//  Copyright (c) 2015年 GuangZhouXuanWu. All rights reserved.
//

#import "ExpandDynamicCell.h"

@class TextAreaGroupTableViewCell;

@protocol TextAreaGroupTableViewCellDelegate <ExpandDynamicCellDelegate>

@optional

- (void)textAreaGroupTableViewCell:(TextAreaGroupTableViewCell*)cell textViewDidBeginEditing:(UITextView *)textView;

- (void)textAreaGroupTableViewCell:(TextAreaGroupTableViewCell*)cell textViewDidEndEditing:(UITextView *)textView;

//- (BOOL)textAreaGroupTableViewCell:(TextAreaGroupTableViewCell*)cell textView:(UITextView *)textView shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string;

@end

@interface TextAreaGroupTableViewCell : ExpandDynamicCell

@property(nonatomic,strong) NSString *text;

@property(nonatomic,strong) NSString *title;

-(void)setAllowEmpty:(BOOL)allowEmpty;

-(void)setTextMaxLength:(NSUInteger)maxLength;

-(void)setTextInputOffsetType:(TextInputCellTitleOffsetType)offsetType;

-(void)setTextInputOffsetType:(TextInputCellTitleOffsetType)offsetType offSetX:(CGFloat)x;

@end

//@interface TextAreaStaticGroupTableViewCell : TextAreaGroupTableViewCell
//
//@end